package com.liao.dao;

import com.liao.bean.Count;

import java.util.List;

public interface CountDao {

    /**
     * 根据账号模糊查询会员列表
     * @param orderId
     * @return
     * @throws Exception
     */
    List<Count> selectCountListLikeCountName(String orderId) throws Exception;

    /**
     * 添加会员
     * @param count
     * @throws Exception
     */
    void addCount(Count count) throws Exception;

    /**
     * 修改会员
     * @param count
     * @throws Exception
     */
    void updateCount(Count count) throws Exception;

    /**
     * 根据id删除会员
     * @param ocid
     * @throws Exception
     */
    void deleteCount(String ocid) throws Exception;
}
